Hello , I have a xlsm file in which it needs few particular sheets needs to be appended from the DXL script directly . Can anybody help me in this aspect with the functions .
DXL (output) -> append *. xlsm (Sheet 1 , Sheet 2 )
doors@36677 - Wed Jul 04 11:05:34 EDT 2018 |
Re: Append Macro enabled excel file A forum search on "create excel sheet" gives these posts and more. These posts look promising. |
Re: Append Macro enabled excel file hi all,
any update on the above ? please suggest ... just need to append the values in the macro enabled excel .. in different sheets .. |
Re: Append Macro enabled excel file You are not creating a macro enabled excel file, you are creating a tab seperated text file, also known as TSV file. Excel is so kind to automatically recognize that your file extension (xlsm) has nothing to do with the content, but that does not make it an XLSM file. TSV is the same als CSV only the separator is not comma or semicolon but tab. CSV (or TSV) does not know the concept of sheets, so you cannot write the values for two sheets into one file. You will need a completely different approach
By the way, if you open an existing XLSM file with the append mode and just add some lines with tabs, I highly doubt that you will be successful, after all, an XLSM file is a zipped file structure with the content residing in XML files, appending lines will only make the XLSM file corrupt.
The options I currently see, are: Option 1:
Option 2, the same only without macro:
Option 3:
|